package com.bestcem.xm.qdes.controller.param;

import com.bestcem.xm.common.core.domain.base.UserBaseInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author guitao.lu
 * @version V1.0
 * @date 2022/8/1
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProjectFolderParam extends UserBaseInfo {
    @ApiModelProperty(value = "兄弟id")
    @JsonProperty("brother_id")
    private String brotherId;

    @NotBlank(message = "qdes folder name is null")
    @Length(max = 30, message = "qdes folder name length too long")
    @ApiModelProperty(value = "名称")
    @JsonProperty("folder_name")
    private String folderName;

    @ApiModelProperty(value = "父类id")
    @JsonProperty("parent_id")
    private String parentId;
}
